Preparation, characterization and structural studies of self-assembled organic films and nanocomposites