Both are very capable cameras.
Here is a link to a direct comparison that shows the differences between the two.
Each has some advantages over the other.
I would say to go to a camera store and get your hands on both cameras and see which one feels best in your hands.
Then buy that one.
Getting an SLR camera but can't decide between: