Second variational derivatives of local variational problems and conservation laws