Quantum Phase Transitions And Enhancement Of Superconductivity By A Parallel Magnetic Field In Two Dimensional Superconductors