Electromagnetic response functions of few-nucleon systems