Studies towards the synthesis of biologically and photophysically active five membered heterocycles and set reactions on diarylidenecycloalkanones