Synthesis and properties of functional dyes with squaraine–naphthalene diimide hybrid structure