Protein folding analysis by an artificial neural network approach