Colorimetric and ratiometric fluorescent chemodosimeter for the detection of hydrazine via the Ing-Manske reaction in solution as well as in the gaseous state: an experimental and computational investigation