Optimistic Optimization of a Deterministic Function without the Knowledge of its Smoothness