A Review of the State of the Art of Industrial Microgrids Based on Renewable Energy