Bound states in the continuum in anisotropic structures