A scientific theory for astrology