A CHARACTERIZATION OF TOTALLY GEODESIC SUBMANIFOLDS IN {S^N} AND C{P^N} BY AN INEQUALITY