CUSTODY AGREEMENT by and between IVY FUNDS on behalf of EACH OF THE FUNDS LISTED ON SCHEDULE I HERETO and THE BANK OF NEW YORK MELLON