Gene duplication and the origin of repetitive protein structures.