Probing protein ensemble rigidity and hydrogen–deuterium exchange