Recent advances in the detection of optical photons with silicon photodiodes