Study of rare b decays with the DELPHI detector at LEP