Deformed exponentials and logarithms in generalized thermostatistics