Coalition says Deputy Prime Minister Richard Marles should resign if staffer’s allegations breached code