Optimal path selection and secured data transmission in underwater acoustic sensor networks: LSTM-based energy prediction