Application of a relativistic accretion disc model to X-ray spectra of LMC X-1 and GRO J1655-40