Germany vows ‘to continue close cooperation’ with US despite midterm election outcome