Electro-assist deposition of binary sol-gel films with graded structure