A versatile radiofrequency phase-shifter