Phonon mediated photodetector