Phenomenology of minimal Z’ models: from the LHC to the GUT scale