Is it possible to create 2dim array with two malloc calls?