What are the two main groups of planets in our solar system?