Carbon-doped titanium dioxide nanoparticles for visible light driven photocatalytic activity