Alex Ferguson retires as Manchester United manager