SC upholds death sentences of 16 terror convicts