Square-integrability of induced representations of semidirect products