Surface energy and the common dangling bond rule for semiconductors.