Hybrid modeling and simulation of biomolecular networks