Exact frequencies of beams and plates: a generalized solution.