The implications of embodiment for behavior and cognition: animal and robotic case studies