Effect of novelty and risk on schema-based learning and decision making in ecological settings