Maryland, Montana first states in country to restrict police