Design of a modified Cherry-Hooper transimpedance amplifier with DC offset cancellation