DC-AC coupled energy storage