German lawmakers elect Angela Marker as chancellor for third term