Arithmetical rank of the cyclic and bicyclic graphs