Nonreciprocal devices based on voltage-tunable junctions