Obama says journalists partly to blame for tone of presidential race