Circuit arrangements for transfer of electric power between ac networks and dc networks