On rational approximations to two irrational numbers