Realizing the chromatic numbers of triangulations of surfaces