The range of the function $f(x) = \sqrt{x^2 - 2x - 3}$ is A. $[-2, 2]$ B. $[-1, 1]$ C. $[0, 4]$ D. $[1, 3]$