Add <perch:if exists="caption>

The &lt;figcaption&gt; element is optional so I wrapped it in a &lt;perch:if&gt; statement in case editors elect not to use it.