Atomic and energy structure of InAs/AlAs quantum dots