The proton-proton weak capture reaction within chiral effective field theory