Production and thickness determination of thin plastic scintillator foils