Elasticities of substitution and complementarity: A synthesis