A compact, robust and versatile moiré interferometer