Seals between rotary and stationary parts