Passive switches for femtosecond lasers based on a nonlinear Fabry — Perot interferometer with a semiconductor absorber