MPs have voted to decriminalise abortion in England and Wales so that women cannot be prosecuted for terminating their pregnancy at any stage.