The optimization of discount size and time limit for coupon promotions: Application to email offers