Development and evaluation of an FPGA based automated system for thermally and optically stimulated luminescence