Effects of electron-phonon coupling near and within the insulating Mott phase