Parameterized Algorithms for Zero Extension and Metric Labelling Problems