Joyce defends secrecy over submarine deal