Necessary and sufficient criteria for ellipticity of the equilibrium equations of a non-linearly elastic medium☆