Yaakov Avitan of Shas apologizes for overseeing ceremony attended by dozens after Israeli TV publishes photo of him signing ketubah