Cavity-enhanced room-temperature magnetometry using absorption by nitrogen-vacancy centers in diamond.