High-speed and high-responsivity germanium p-i-n photodetectors