Thermostable phosphite dehydrogenase in complex with NAD