Continental Resources posts profit, to buy Pioneer Natural’s Delaware assets