András Schäfer scored a 91st-minute winner for Union Berlin at Cologne, who had Rav van den Berg sent off.