Two Czech men have been convicted of a racially-motivated attempted murder in an arson attack on an apartment building occupied by Roma and sentenced to six years and nine months in prison.