Analysis of Spectrum Efficiency and Energy Efficiency of Heterogeneous Cellular Networks