Structural analysis of WW domains and design of a WW prototype