A Scottish reverend has invited Muslims to pray alongside Christians in an Aberdeen church because the nearby mosque is so small that some worshippers were forced to pray outside.