Thousands of coronavirus cases recorded in hospital were caught on site, new research suggests