Trojan asteroids - Populations, dynamical structure and origin of the L4 and L5 swarms