S -duality for holographic p -wave superconductors