Characterization of the secondary neutron field produced during treatment of an anthropomorphic phantom with x-rays, protons and carbon ions