Court upholds death sentence for child rape