Superconducting transition properties of grain boundaries in MgB2 films