The value of the maximum righting arm depends on the position of the center of buoyancy and which other item?