UN votes to set up panel to investigate atrocities committed during nearly six years of war that have devastated Syria.