SpaceX wins launch contract for NASA space science mission