Detecting non-Abelian geometric phases with superconducting nanocircuits