Engines for biogas : theory, modification, economic operation