Palantir quarterly revenue hits $1.2B, though shares dip in after-hours trading