Superheavy and hyperheavy nuclei in the form of bubbles or semi-bubbles