Unifying and accelerating level-set and density-based topology optimization by subpixel-smoothed projection