Study of B-+/--> J/psi pi(+/-) and B-+/--> J/psi K +/- decays: Measurement of the ratio of branching fractions and search for direct CP violation