Multifunctional cooker