Facile synthesis of B-type carbonated nanoapatite with tailored microstructure