Measurement of the chi(b) (3 P) mass and of the relative rate of chi(b1) (1 P) and chi(b2) (1 P) production