Analysis of disruptive selection in subdivided populations