SC upholds death penalty for mentally ill murder convict