Conditions of applying Oliver-Pharr method to the nanoindentation of particles in composites