The BV-capacity in metric spaces