Use of squarylium dyes as a sensing molecule in optical sensors for the detection of metal ions