Theoretical study on molecular excitation using chirped pulses in the condensed phase