Preparation and photocatalytic activity of the layered titanates