Constraints of relic gravitational waves by pulsar timing arrays: Forecasts for the FAST and SKA projects