Mazda profit beats estimates as strong China, US sales cushion FX loss, costs