Greener multicomponent reactions for the synthesis of spiro compounds indazolotriones and chromeno pyrimidines