Group inverses of certain positive operators