Noether's theorem in classical field theory