EastEnders character Nigel Bates has revealed his diagnosis with young onset dementia for an ongoing storyline about the neurological condition.