Freja observations of heating and precipitation of positive ions