Understanding of informed consent by demented individuals