Enhanced design of pure phase greyscale diffractive optical elements by phase-retrieval-assisted multiplexing of complex functions