Casimir Energy for a Scalar Field With a Frequency Dependent Boundary Condition