Detroit police will work 12-hour shifts