Neutral pion photoproduction on deuterons in the resonance energy region