Lewis Hamilton credits Ferrari set-up change for front row