Layerwise learning for Quantum Neural Networks