Conformational transitions and activation of the adhesion receptor CD97.