Thicker host tissues moderate light stress in a cnidarian endosymbiont