As one who has had his bouts with depression, Jim Carrey reveals how important his spirituality is to his wellbeing