A phase-field-based graded-material topology optimization with stress constraint