Shape and thermodynamic stability of pyrite FeS2 nanocrystals and nanorods