how to read from and write to Mifare card reader 1K?