Lily James is "fascinated" by psychology and thinks her passion for the subject has helped her as an actress.