Analytic gradient and molecular dynamics simulations using the fragment molecular orbital method combined with effective potentials