Squaraine dyes: The hierarchical synthesis and its application in optical detection