A nonrelativistic potential model with forbidden states for the nucleon-nucleon interaction at small distances