Lectures on entanglement entropy in field theory and holography