Preparation of manganese-doped ZnO thin films and their characterization