School formals and graduation ceremonies banned under new NSW COVID rules