Generation of hard x rays by femtosecond laser pulse interaction with solid targets in atmosphere