Search for the radiative decays B -> rho gamma and B0 -> omega gamma