Probing the Dark Matter and Gas Fraction in Relaxed Galaxy Groups with X-ray observations from Chandra and XMM