Measurement of the ratio of branching fractions B(B-c(+) -> J/psi K+)/B(B-c(+) -> J/psi pi(+))