A court in Sweden sentences two men to life in jail over "terror crime" murders carried out by Islamic State militants in Syria in 2013.