Study of the Production of Λ0b and anti-B0 Hadrons in pp Collisions and First Measurement of the Λ0b → J/ψ p K− Branching Fraction