Albert Pujols signs with Dodgers for rest of season