Video‐based neonatal state assessment method for timing of procedures