Man stuck in chimney for four hours rescued by fire department