Measurement of the differential cross-sections of inclusive, prompt and non-prompt J/psi production in proton-proton collisions at √s = 7 TeV