Three perish in San Jose fire