A comparative analysis of underground and bus transit networks through graph theory