Proton-induced X-ray production in titanium, nickel, copper, molybdenum and silver