Three scales asymptotic homogenization and its application to layered hierarchical hard tissues