A man swimming at a Long Island beach was bitten, possibly by a shark, police say