Shuttle Discovery ends flying career, museum next