Calculation on ductility of intermetallics based on a molecular orbital theory