An Infrared Spectroscopic Survey of the rho Ophiuchi Young Stellar Cluster: Masses and Ages from the H-R Diagram