In-situ one-pot hydrothermal synthesis of carbon-TiO2 nanocomposites and their photocatalytic applications