Interatomic energy analysis for the determination of protein tertiary structure