Weighted recurrence networks for the analysis of time-series data