Wireless Sensors for Permanent Monitoring of Heritage Buildings