Pakistan overcome England to win Dubai Test