Line nodes in the energy gap of high-temperature superconducting BaFe_2(As_{1-x}P_x)_2 from penetration depth and thermal conductivity measurements