A high-efficiency and accuracy holographic tandem method for arbitrary beam shaping