Ottawa's chief of police resigns following criticism over the way he handled the occupation