Sebastian Andersson scored twice as Cologne avoided relegation with a 5-1 victory at Holstein Kiel in the Bundesliga relegation/promotion play-off second leg.