Nuclear envelope assembly defects link mitotic errors to chromothripsis