Strong Coresets for Subspace Approximation and k-Median in Nearly Linear Time