High-efficiency one-dimensional metalens for 3D focusing