A simple method for surface and ultrathin film characterization