Metabolic energy consumption and information transmission of a two-compartment neuron model and its cortical network