A reliability-based prognostics framework for railway track management