Theoretical study of the electronic spectrum of the CoH molecule