secular equation chemistry