Pionic degrees of freedom in atomic nuclei and quasielastic knockout of pions by high-energy electrons