Ducati's Jack Miller and Francesco Bagnaia came in first and second position, dominating the first two free practices at the season-opening Qatar MotoGP on Friday.