Preparation of nickel oxide thin films for gas sensors applications