A comparative analysis of two royalty structures in franchising under demand uncertainty