EPR inequality and Heisenberg uncertainty principle