Two-sided bounds for the complexity of hyperbolic three-manifolds with geodesic boundary