An approach to control the tip shapes and properties of ZnO nanorods