First-principles study of the atomic structure and edge state of zigzag carbon nanoscrolls