Quasibound states in continuum-induced double strong coupling in perovskite and WS2 monolayers