Vikings hire Frazier as permanent head coach