Preparation of titanium dioxide/polyacrylate nanocomposites by sol–gel process in reverse micelles and in situ photopolymerization