Shell model calculations of ft values in the 2s12 and 1d32 shells