Twin-rotor turbine with self-rectifying valves for bidirectional-flow energy conversion