Faith groups hail new law allowing civil partnerships on religious premises