On the (Laplacian) spectral radius of bipartite graphs with given number of blocks