Finite-dimensional representations of rational Cherednik algebras