NASA helicopter takes first flight on Mars