A novel Sol-Gel-based sensor for humidity detection