Fix header levels in variational problems documentation