Effective-range theory for an electron in a short-range potential and a laser field