Genetically encoded photo-switchable molecular sensors for optoacoustic and super-resolution imaging