Effects of continuity of care on medication duplication among the elderly