The variation with a period of two solar cycles in the cosmic ray diurnal anisotropy for the nucleonic component