Fission properties of heavy and superheavy nuclei