Wavelet transforms and discrete frames associated to semidirect products