Unique phase reconstruction of near fields over planes