Andre Hahn and Niklas Dorsch scored second-half goals in Cologne to put some welcome breathing space between Augsburg and the relegation zone.