Analytic First and Second Derivatives for the Fragment Molecular Orbital Method Combined with Molecular Mechanics