A versatile integrated system for thermoluminescence and optically stimulated luminescence measurements