Optimization of composite beam structures using a genetic algorithm