Add support for weights in assortativity and scalar_assortativity
Current implementation of assortativity and scalar_assortativity assume equal importance for all the edges. A weight parameter could be added as a multiplicative factor in the amount of assortativity each relationship contributes, similarly to the weight parameters in other correlation functions.