A bandwidth-compensated transimpedance amplifier for multi-gigabit optical receivers