Effect of donor and acceptor end-groups on electronic structure and spectral-fluorescent properties of merocyanines in frozen ethanol