Development and application of the ONIOM and ONIOM-MD methods