Critical equation of state of three-dimensional XY systems