A sword-wielding man has been arrested in northeast London after killing a teenager and injuring four others, local authorities have said