Integration of ceramic thin films in silicon technology for energy conversion and oxygen sensing