the child is declared by the court to be unavailable as a witness