Phase Coherence and Microphase Separation Transitions in Diblock Copolymer Thin Films