The impact of the environment on the quality of care in nursing homes: A social‐psychological perspective