On the mechanism of enhanced photocatalytic activity of composite TiO2/carbon nanofilms