Boundary energy shaping of linear distributed port-Hamiltonian systems