Computation of the Eigenfrequencies of Acoustic Cavities: A New Penalty Method