Investigating gating mechanisms of ion channels using temperature-resolved cryoEM