Penn State coach Paterno to retire at end of season