The Transition from Atomic to Molecular ISM