Mass attack of trees by Ips typographus induced by sex-specific pheromone: a model of attack dynamics