Japan and India agree bullet train, nuclear deals