Thin film humidity sensor based on sol-gel technology