Michigan dominated for two periods, then held on in the face of a fierce Quinnipiac