Interaction of ICRF Fields with the Plasma Boundary in AUG and JET and Guidelines for Antenna Optimization