The application of functional oxide thin films in flexible sensor devices