Rapid access to unusual solid-state luminescent merocyanines by a novel one-pot three-component synthesis.