XMM-Newton and Suzaku analysis of the Fe K complex in the Seyfert 1 galaxy Mrk 509