Four-dimensional variational data assimilation using the adjoint of a multilevel primitiveequation model