An investigation on the variables of the globular cluster M 53