Dubai has dropped charges brought against a British couple for having sex out of marriage after they produced a marriage certificate.