Design and optimization of aerospike nozzle for rotating detonation engine