Preparation of nanocrystalline porous titania films on titanium substrates by a sol–gel method with polyethylene glycol as a template