Functionally gradient syntactic foams