Transparencies of complex nuclei to photoproduced pions and recoil nucleons