Armed extremists have killed over 162 people in attacks on two villages in Kwara state, western Nigeria, a lawmaker said.