A court in Hong Kong has denied bail to two Apple Daily newspaper executives over allegations of endangering national security.