Phase Transitions in the Early Universe: The Cosmology of Non-minimal Scalar Sectors