Midwives take hospital to court to defend conscience