Facebook sees profits double to bn but warns of slowdown in months ahead