Measurement of the CP-violating phase β in B⁰ → J / ψ π⁺π⁻ decays and limits on penguin effects