The generating rank of a polar Grassmannian