Quantum control of molecular reaction dynamics by laser pulses: Development of theory and its application