Electrochemically deposited polypyrrole nanorods and study of their ammonia sensing properties