Pakistan beat Australia in Dubai