Design and performance of an integrated phase and amplitude diversity sensor