Berlin sides with Paris in fallout over Australian submarine deal