Ky. rep accidentally fires gun in office