Penetrative convection in fluid layers with internal heat sources