Reflection matrices, coideal subalgebras and generalized Satake diagrams of affine type