Threshold pion photoproduction on nucleons