The Taliban has claimed responsibility for an attack that killed seven members of Afghan National Police on Monday.