Pakistan beat West Indies by three runs in second T20