Search for B0 decays to invisible final states and to nu nu-bar gamma