Frequency and temperature dependence of the anomalous ac Hall conductivity in a chiral p x +ip y superconductor with impurities