MRI Quality Control Algorithm Based on Image Analysis Using Convolutional and Recurrent Neural Networksстатья