The differential investment of mental effort in learning from different sources