Klarna says it has made progress towards profits as losses double