Is cognitive impairment a risk factor for poor compliance among Japanese elderly in the community?