Inferring the Structure of Social Contacts from Demographic Data in the Analysis of Infectious Diseases Spread