Atomic-force microscopy (AFM) was carried out using an Autoprobe CP Research instrument (Veeco Instruments, Oyster Bay, NY). The resulting data were transformed into a 3D image. The mean surface roughness (Sa) and mean square roughness (Sq) of the films were calculated by the following equations: