A model of customer loyalty and corporate social responsibility