Motivic invariants of Artin stacks