Support phi coordinates in range -2pi to 2pi. Complain if data is outside of this range.
Reported as annoyance by Belle2.

(cherry picked from 5.34-patches commit 12cf487a8f1d4aad7c0f1d9fc864d3f4c0ad2bf7)