Structure, friction, and Raman spectroscopy of Re-doped bulk MoS2 from first principles