New York Attorney General Eric Schneiderman has resigned, over allegations of assault by multiple women.