Stress concentration factors of periodic notches determined from the strain energy density