Police investigate homicide in central valley