Sri Lanka through to Asia Cup final, prevail over Pakistan in nail-biting finish