Text this: Convexity and concavity theorems on positive matrices and applications to geometric means and Khatri-rao products