Some Inequalities for Gram's Determinants and Applications