Ancient philosophy, mystery and magic. Empedocles and Pythagorean tradition