A dramatic late strike from Marius Bülter helped Cologne to secure victory on their return to the Bundesliga against 10-man Mainz.