Former rubber factory to open as art hub in Edinburgh