Penn State hires Bill O'Brien as football coach