Properties of traps determined from the optical quenching of luminescence and dielectric losses in ZnS:Cu