Germanium Photodetector With Alleviated Space-Charge Effect