Real-Time Health Monitoring of Historic Buildings with Wireless Sensor Networks