Stay on the sunny side: Optimistic animal foragers have better lives in behavior model