Measurement of the relative prompt production rate of chi(c2) and chi(c1) in pp collisions at sqrt(s) = 7 TeV