Which federal legislation primarily established standards for nursing facility care, resident rights, and quality of life in long-term care settings?