Perceptual and motivational aspects of detour behaviour in young chicks