Criteria of motivic equivalence for quadratic forms and central simple algebras