Regression and Classification with Single-Qubit Quantum Neural Networks