Homogenization in perforated domains with mixed conditions