Risk factors for tooth loss in community-dwelling Japanese aged 40 years and older: the Yamagata (Takahata) study