CURiuos Variables Experiment (CURVE): Variable stars in the metal-poor globular cluster M56