SUB-ADVISORY AGREEMENT TEMPLETON FORGEIGN SMALLER COMPANIES FUND a series of Templeton Global Investment Trust