Helena Bonham Carter started acting as a way of "coping" when her father was diagnosed with a brain tumour, because she wanted to "invent her own life".