Pujols Agrees to Contract with Angels