Automated and precise heartbeat detection in ballistocardiography signals using bidirectional LSTM