Defining scaffold geometries for interacting with proteins: geometrical classification of secondary structure linking regions