Reflection matrices for quantum symmetric pairs of affine type