Production of Energy and Environmental Protection as a Prerequisite for Sustainable Development