\ensuremath\alpha-decay calculations of heavy and superheavy nuclei using effective mean-field potentials