Thin- and thick-film solid ionic devices