Quantum cosmology and higher-order Lagrangian theories