Structural Mechanisms Underlying the Activity of Protein Kinases