Reconstructing a nonminimum phase response from the far-field power pattern of an electromagnetic system