Relative importance of social synergy, assortation and networks in the evolution of social cooperation