A study of nucleation and growth of thin films using scanning tunneling microscopy and related techniques