Nature of the Soft Spectral Component in the X-Ray Pulsars SMC X-1 and LMC X-4