A fiber Bragg grating based earth and water pressures transducer with three-dimensional fused deposition modeling for soil mass