Change in Vickers hardness at the glass transition region for fragile and strong glasses