Pressure induced magnetic, electronic and mechanical properties of SmX (X = Se, Te)