Үүнийг мессежээр илгээх: Quantum metrology with imperfect states and detectors