Shapes of Molecules and Diatomic Elements