Court convicts man of rape and murder, hands death penalty