Hybrid SnO2/carbon composites: From foams to films by playing with the reaction conditions