Shares of data analytics firm Palantir surge 22% on profit forecast