Nicotinate and nicotinamide metabolism