A novel moiré-based optical scanning head for high-precision contouring