Returns the nominal annual interest rate, given the effective rate and the number of compounding periods per year.