Neutral pion photoproduction on the nucleon in a chiral quark model