DWS FUNDS FUND OF FUNDS INVESTMENT AGREEMENT