Semi-Lagrange method for level-set-based structural topology and shape optimization