Optimization of a Compact Frequency- and Environment-Reconfigurable Antenna