Ancient Egyptian cursive scripts. Digital paleography and systematic analysis of Hieratic and cursive hieroglyphs