Hydraulic retention time governed the micro/nanostructures of titanium-incorporated diatoms and their photocatalytic activity.