How many major periods is European history divided into