Banks to pay Microsoft millions to keep cash machines running Windows XP