Neural network for photoplethysmographic respiratory rate monitoring