Actuator line simulation of a tidal turbine in straight and yawed flows