Onset of global phase coherence in Josephson junction arrays: A dissipative phase transition.