Associations of history of intimate partner violence with mental ill-health and lifestyle factors in middle-aged and older men and women in South Africa