Necessary conditions at the boundary for minimizers in finite elasticity