Degree distribution and assortativity in line graphs of complex networks