UK supermarket chain Sainsbury said it plans to make a "major" financial investment over the next five years in a coupon-based loyalty scheme.