Electromagnetic interactions of weakly-bound composite systems