Folding squat rack and bench