Zero temperature superconductor–edge metal–insulator transition in two-dimensional bosonic systems