Self-consistent methods for structure and production of heavy and superheavy nuclei