Rate copntrol of scalably coded images