Efficiency Limit of Far- and Near-field Thermophotovoltaic Energy Conversion