Teachers 'acting like bouncers' outside takeaways and sweet shops to prevent children buying food after school