Nematic order in small systems: measuring the elastic and wall-anchoring constants in vibrofluidized granular rods