Femto- and nanosecond pulse laser ablation dependence on irradiation area: The role of defects in metals and semiconductors