New technology distinguishes between two progressive neurodegenerative diseases