Cook ‘ready’ for Pakistan after Sri Lanka success