Add HTML5 semantic tags to figures and their captions