Evolutionary population synthesis - From galaxies to open clusters