Boundary-artifact-free phase retrieval with the transport of intensity equation II: applications to microlens