Electrodeposition of materials from novel solvents