Explain namespaces in TypeScript with example?