Man who killed wife and child sentenced to death