Pranab Mukherjee reveals diary-writing habit