Costa Rican chancellor says state has duty to defend the family