Quantum integrals of motion for the Heisenberg spin chain