A theoretical equation of state for real quadrupolar fluids