Mathematical modeling with genetic algorithms of the impact of some marketing, innovation and environmental protection expenses in a firm