Measurements of the decays B0→D¯0pp¯, B0→D¯*0pp¯, B0→D-pp¯π+, and B0→D*-pp¯π+