A man has died after being attacked by a shark off the coast of the north-eastern Australian state of Queensland, police have confirmed.