Orbital magnetic susceptibility of graphene and MoS2