Association of bacterial vaginosis with a history of second trimester miscarriage.