THE STRUCTURE OF IDEMPOTENT SEMIGROUPS. I