Libyan rebels and Gaddafi troops in battle on two fronts