Phase Retrieval And 3D Topography Using Transport Of Intensity