Crystal structure of undecaprenyl pyrophosphate synthase in complex with Mg and IPP