A novel HMSM photodetector with resonant cavity for short haul communications