Endogenous consumers’ preferences as drivers of green corporate social responsibility