Magnetostatic modes in a combination of two magnetic films