Fungal production of biofuel and flavor compounds in liquid and solid state