H^1 and BMO for certain locally doubling metric measure spaces