The cross-section for J/ψ production in proton-proton collisions at centre-of-mass energies between 23 and 63 GeV