Structural and functional basis of the selectivity filter as a gate in human TRPM2 channel.