Inventory losses pull down HPCL profit by 82 per cent