An inverse problem of elastostatics in mechanics of composites