Mastercard beats Q2 estimates with $5.04 EPS on resilient spending