On the determination of optimal levels in phytosociological classification