Arithmetical ranks of the cyclic and bicyclic graphs