Judicial review and environmental legislation