Model of an impurity centre with a partially filled f-shell in III-V semiconductors