Measurement of psi (2S) production cross-sections in proton-proton collisions at v s=7 and 13 TeV