Study finds religion helps us gain self-control