German, Indian defence majors near deal to build submarine in India