Gardens By the Bay, a futuristic park in Singapore, shows how green spaces can be functional and modern.