Effect of magnetic field on Blasius and Sakiadis flow of nanofluids past an inclined plate