Background field boundary conditions for affine Toda field theories