Fractional Josephson effect versus fractional charge in superconducting–normal metal hybrid circuits