what happens in an elastic collision