Using natural ventilation theory and dynamic heat balance modelling for real time prediction of ventilation rates in naturally ventilated livestock houses.