(Meta)stable reconstructions of the diamond (111) surface: Interplay between diamond and graphitelike bonding