HCA-4M-500k: 4MHz transimpedance amplifier for photodetection, spectral analysis and precision measurement