Social network giants pledge to tackle abuse of women online