Controlled TiO2 Growth on Reverse Osmosis and Nanofiltration Membranes by Atomic Layer Deposition: Mechanisms and Potential Applications.