An integrated two stage rotary vane compressor: theoretical optimisation