Wavelet-Based Vibration Control of Smart Buildings and Bridges