Coffee can be good for your bones, study says