Marseille edge past Nantes to rise to second in Ligue 1