Tetraphenylethylene-incorporated squaraine dyes: structural and theoretical insights into the diverse emission behaviors in solution and solid state