Predicting failure modes and ductility of dual phase steels using plastic strain localization