removing display:table-caption and positioning figcaptions in figures and nested figures