$L^2$-Alexander invariant for knots