Acoustics and atomic force microscopy for the mechanical characterization of thin films