A simultaneous XMM-Newton and BeppoSAX observation of the archetypal broad line Seyfert 1 galaxy NGC 5548