Modelling the nanomechanical response of a micro particle–matrix system for nanoindentation tests