Self-duality and constant resistance one-ports