Between a rock and a hard place: adaptive sensing and site-specific dispersal.