Momentum distribution of J/ψ in B decays