Design of geometric phase holograms with arbitrary polarization states and waveforms