Relative isoperimetric inequalities and sufficient conditions for finite perimeter on metric spaces