Structure and energy level calculations of dislocations in gallium arsenide