Output regulation of a class of bilinear systems under constant disturbances