Resolution of the Einstein-Podolsky-Rosen and Bell Paradoxes