Synthesis and properties of Co-doped titanate nanotubes and their optical sensitization with methylene blue