Manchester City striker Erling Haaland scored a late penalty as his team came from behind to beat Liverpool 2-1 at Anfield.