Influence of space charge effect in femtosecond electron bunch on coherent transition radiation spectrum