Photocatalytic and electrochemical performance of hydrothermally synthesized cubic Cd2SnO4 nanoparticles