Knives and offensive weapons to be banned from homes