Higgs boson masses in the model with two Higgs doublets and spontaneous CP-violation