MongoDB script: list all databases.