Maximization of the fundamental frequency of plates and cylinders