Custody agreement reached in Jolie-Pitt divorce case