The BGO calorimeter for the GRAAL beam