Norm inequalities and characterizations of inner product spaces