Neutron densities from a global analysis of medium-energy proton nucleus elastic scattering