An analysis of the performances of a vapour compression plant working both as a water chiller and a heat pump using R22 and R417A