Switched-gain feedback amplifiers