Heavy element abundances in Ap stars from ultraviolet data. I - The bright reference stars Alpha Lyrae and Alpha Canis Majoris A