The firms hoping to cut down on wasted cosmetics