Magnetic and mechanical properties of micro/nano particles prepared by metallizing rod-shaped bacteria