Afghan Prez warns Taliban on links with LeT, JeM