Electric-magnetic duality and renormalization in curved spacetimes — arXiv2