Effects of anxiety on science‐related attitudes