Pakistan beat Sri Lanka, clinch ODI series