Applications of evolutionary algorithms to electromagnetic materials characterization and design problems