Bipolar power converter and control of switched reluctance generator system for renewable energy storage