Calculations of absorption and emission spectra: A study of cis‐stilbene