Effect of compression on the electronic, optical and transport properties of MoS2/graphene-based junctions