Bi-ideals in regular semigroups and in orthogroups