Factors contributing to malnutrition in elderly nursing home residents