Determination of critical thickness of ZnS∕GaP epilayers using spectroscopic ellipsometry