Measurements of spallation cross sections for 590 MeV protons on thin targets of copper, nickel, iron and aluminum