Ptychographic phase retrieval by applying hybrid input-output (HIO) iterations sequentially