Former teacher pleads guilty to federal child pornography charges