Long-range inputs and H-current regulate different modes of operation in a multiscale model of mouse M1 microcircuits