Local variational problems and conservation laws