Gated Lateral Silicon P-I-N Junction Photodiodes