when were automatic weapons made illegal in the united states