Formation of complex organic molecules by ion reactions in Titan's atmosphere