Exact scalar field cosmologies