Solvent effect on dynamical TPA and optical limiting of BDMAS molecular media for nanosecond and femtosecond laser pulses