Chemical vapor deposition techniques for thin films of solid electrolytes and electrodes