Temperature and cooling age of the white dwarf companion of PSR J0218+4232