Resonant Brillouin scattering from ZnO and CdS