Tunable hard x-ray source from obliquely incident intense laser interacting with overdense solid targets