A computer program for determination of thin films thickness and optical constants