Automated data capture, analysis and reporting of the proximity of patients, staff and visitors