AMENDED AND RESTATED CREDIT AGREEMENT Dated as of June 3, 2005 among AMERICAN STATES WATER COMPANY, as Borrower,