Performance analysis of a photovoltaic heat pump