Partial energy gradient based on the fragment molecular orbital method: Application to geometry optimization