Charged pion, kaon and nucleon production by e+e− annihilation for c.m. energies between 3.6 and 5.2 GeV