Measurements of the decays B0 -> D0-bar p p-bar, B0 -> D*0-bar p p-bar, B0 -> D- p p-bar pi+, and B0 -> D*- p p-bar pi+