On Sum of Squares Representation of Convex Forms and Generalized Cauchy-Schwarz Inequalities