How human 'computers' Annie Jump Cannon and Henrietta Swan Leavitt revolutionized astronomy