Charmonium production at LHCb: measurement of the psi' to J/psi production ratio with the first data