Modeling of acousto-optic interaction in multilayer guiding structures