Preparation of silver nanorods by electrochemical methods