Thickness effect on the properties of Mn-doped ZnO thin films synthesis by sol-gel and comparison to first-principles calculations