Three duality symmetries between photons and cosmic string loops, and macro and micro black holes