The US president blames the first quarterly GDP decline in three years on his Democratic predecessor.