A tentative replica study of the glass transition