Energy levels of nuclei 40Sc and 40K as a function of semi-classical coupling angle θ1,2 within the modified surface delta-interaction