Global model shows how rising seas may force millions of coastal farmers to adapt, migrate or face losses.