Obama on debate: 'I had a bad night'