XY mixers: Analytical and numerical results for the quantum alternating operator ansatz