Sugawara Operators for Classical Lie Algebras