Rank revealing LU factorizations