Extending assortativity: An application to weighted social networks