Predicting human preferences using the block structure of complex social networks