An infectious disease model on empirical networks of human contacts: bridging the gap between dynamic network data and contact matrices - CX-nets