Security paramount, Modi tells Sri Lanka parliament