A device that turns currents into electricity could make tidal energy a reality