Recent advances and comprehensive insights on nickel oxide in emerging optoelectronic devices