Thermohaline mixing: a physical mechanism governing the photospheric composition of low-mass giants