Australian man says border force made him hand over phone passcode by threatening to keep device indefinitely