Gianforte signs bill offing affordable-housing program in Bozeman, Whitefish