Chemical bath deposition of SnO2 and Cd2SnO4 thin films