Samarium and yttrium doping induced phase transitions and their effects on the structural, optical and electrical properties of Nd2Sn2O7 ceramics