A comparative first-principles study of point defect properties in the layered MX2 (M = Mo, W; X = S, Te): Substitution by the groups III, V and VII elements