Magnetite production and transformation in the methanogenic consortia from coastal riverine sediments