Complex networks: analysis and control