On the Occurence of Critical Learning Periods in Neural Networks