Contesting coal through the court: lawfare, energy transitions, and environmental politics in South Africa