Shadow foreign secretary Emily Thornberry says she's suffered sexual harassment and is ashamed it could happen in the Labour Party.