Functional methods and effective potentials for non-linear composites