Measurement of the CP-Violating Phase β in B0 → J/ψ π+ π− Decays and Limits on Penguin Effects