foreshadowing is a literary device-