Historian Irfan Habib slapped with legal notice for taking jibe at Modi and Shah