INVESTMENT AGREEMENT dated as of July 22, 2008 between BOSTON PRIVATE FINANCIAL HOLDINGS, INC. and BP HOLDCO, L.P.