A millimeter wave/terahertz 3D scanner for wall painting investigation