Specification and negotiation in incomplete contracts