Conservatives win German election while far-right party surges to second place