Constraints on inflation at the Planck scale from the relic graviton spectrum