‘Indian, Afghan agencies sponsor terrorism in Pakistan’