Learning to segment and recognize novel objects evolves in parallel