Relative modification of prompt Psi(2S) and J/psi yields from pp to PbPb collisions at sqrt(s_NN) = 5.02 TeV