Consumption and precautionary saving: an empirical analysis under both financial and environmental risks