Molecular dynamics simulations of structural formation of a single polymer chain: Bond-orientational order and conformational defects