Contracts and Trust in Alliances