On the generalization of stress function procedure for dynamic analysis of plates