A state-dependent model of activity patterns in homing limpets: balancing energy returns and mortality risks under constraints on digestion