Fabrication and absorption properties based on ZnO nanocomposites adjusted by length–diameter ratio of ZnO nanorods