The binding mechanism of the molecular rotor Thioflavine-T to DNA