On cohomology of invariant submanifolds of Hamiltonian actions