Theoretical aspects of energetic treatment of waste and environment protection against negative impacts