Lattice Boltzmann Models For Relativistic Hydrodynamics And Magnetohydrodynamics