An Estimator of the Quadratic Variation of a Process with Finite Energy