Signed visibility graphs of time series and their application to brain networks