Replace WP img tags with HTML5 figure and figcaption tags