How to rename files extension in given directory recursively?

How to rename files extension in given directory recursively?