Sample complexity of policy search with known dynamics