Structure of regular semigroups