Bulgarian national failed in Supreme Court challenge to law compelling him to disclose passwords to electronic devices